package com.richapp.launcher.database.system.mode;


import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "deviceDayPowerConsumption")
public class DeviceDayPowerConsumption {
	
	@DatabaseField(generatedId = true)
	private int id;
	
	@DatabaseField(columnName = "boxCpuId")
	private String boxCpuId;
	
	@DatabaseField(columnName = "deviceId")
	private String deviceId;
	
	@DatabaseField(columnName = "deviceNumber")
	private String deviceNumber;

	@DatabaseField(columnName = "way",defaultValue = "01")
	private String way;
	
	@DatabaseField(columnName = "deviceName")
	private String deviceName;
	
	@DatabaseField(columnName = "dayTimeStr")
	private String dayTimeStr;
	
	@DatabaseField(columnName = "powerConsumption")
	private double powerConsumption;
	
	public DeviceDayPowerConsumption() {
	}

	public int getId() {
		return id;
	}
	
	public double getPowerConsumption() {
		return powerConsumption;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setPowerConsumption(double powerConsumption) {
		this.powerConsumption = powerConsumption;
	}

	public String getDayTimeStr() {
		return dayTimeStr;
	}

	public void setDayTimeStr(String dayTimeStr) {
		this.dayTimeStr = dayTimeStr;
	}

	public String getBoxCpuId() {
		return boxCpuId;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public String getDeviceNumber() {
		return deviceNumber;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setBoxCpuId(String boxCpuId) {
		this.boxCpuId = boxCpuId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public void setDeviceNumber(String deviceNumber) {
		this.deviceNumber = deviceNumber;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getWay() {
		return way;
	}

	public void setWay(String way) {
		this.way = way;
	}
}
